package cn.jaye.fabric.domain.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.*;

import java.util.List;

/**
 * @author Jaye
 * @create 2018-05-21 16:24
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "block")
public class MBlock {
    private Long blockNum;
    private String channelName;
    private String dataHash;
    private String preHash;
    private String calculateHash;
    private Integer txCount;
    @TableField(exist = false)
    private List<MFTransaction> mfTransactions;
}
